home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2007 December / PCWKCD1207B.iso / Blogowanie poza sfera / Flock 0.9.1.3 stable / flock-0.9.1.3.en-US.win32.exe / flock / chrome / classic.jar / skin / classic / global / globalBindings.xml < prev    next >
Extensible Markup Language  |  2007-02-22  |  6KB  |  156 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!DOCTYPE bindings [
  4. <!ENTITY % tabBrowserDTD SYSTEM "chrome://global/locale/tabbrowser.dtd" >
  5. %tabBrowserDTD;
  6. <!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
  7. %globalDTD;
  8. ]>
  9.  
  10. <bindings id="globalBindings"
  11.    xmlns="http://www.mozilla.org/xbl"
  12.    xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  13.    xmlns:xbl="http://www.mozilla.org/xbl">
  14.  
  15.   <binding id="radio"
  16.            extends="chrome://global/content/bindings/radio.xml#radio">
  17.     <content>
  18.       <xul:hbox class="radio-check-box1" xbl:inherits="selected,checked,disabled">
  19.         <xul:hbox class="radio-check-box2" flex="1">
  20.           <xul:image class="radio-check" xbl:inherits="selected,checked,disabled"/>
  21.         </xul:hbox>
  22.       </xul:hbox>
  23.       <xul:hbox class="radio-label-box" xbl:inherits="flex">
  24.         <xul:image class="radio-icon" xbl:inherits="src"/>
  25.         <xul:label class="radio-label" xbl:inherits="xbl:text=label,flex,accesskey,crop"/>
  26.       </xul:hbox>
  27.     </content>
  28.   </binding>
  29.  
  30.   <binding id="radio-with-spacing"
  31.            extends="chrome://global/skin/globalBindings.xml#radio">
  32.  
  33.     <content>
  34.       <xul:hbox class="radio-spacer-box">
  35.         <xul:hbox class="radio-check-box1" xbl:inherits="selected,checked,disabled">
  36.           <xul:hbox class="radio-check-box2" flex="1">
  37.             <xul:image class="radio-check" xbl:inherits="selected,checked,disabled"/>
  38.           </xul:hbox>
  39.         </xul:hbox>
  40.       </xul:hbox>
  41.       <xul:hbox class="radio-label-center-box" flex="1">
  42.         <xul:hbox class="radio-label-box" flex="1">
  43.           <xul:image class="radio-icon" xbl:inherits="src"/>
  44.           <xul:label class="radio-label" xbl:inherits="xbl:text=label,accesskey,crop" flex="1"/>
  45.         </xul:hbox>
  46.       </xul:hbox>
  47.     </content>
  48.   </binding>
  49.  
  50.   <binding id="toolbarpaletteitem-spacer" extends="chrome://global/content/bindings/toolbar.xml#toolbarpaletteitem">
  51.     <content>
  52.       <xul:spacer class="spacer-left"/>
  53.       <children/>
  54.       <xul:spacer class="spacer-right"/>
  55.     </content>
  56.   </binding>
  57.  
  58.   <binding id="tabbrowser-tab" extends="chrome://global/content/bindings/tabbrowser.xml#tabbrowser-tab">
  59.     <content chromedir="&locale.dir;"
  60.              closetabtext="&closeTab.label;">
  61.       <xul:hbox class="tab-image-left" xbl:inherits="selected"/>
  62.       <xul:hbox flex="1" class="tab-image-middle" align="center" xbl:inherits="selected">
  63.         <xul:stack class="tab-icon">
  64.           <xul:image xbl:inherits="validate,src=image" class="tab-icon-image"/>
  65.           <xul:image class="tab-extra-status"/>
  66.         </xul:stack>
  67.         <xul:label flex="1" xbl:inherits="value=label,crop,accesskey" crop="right" class="tab-text"/>
  68.       </xul:hbox>
  69.       <xul:toolbarbutton anonid="close-button" class="tab-close-button" tabindex="-1"/>
  70.         <xul:hbox class="tab-image-right" xbl:inherits="selected"/>
  71.     </content>
  72.   </binding>
  73.   
  74.   <binding id="tabs" extends="chrome://global/content/bindings/tabbox.xml#tabs">
  75.     <content>
  76.       <xul:spacer class="tab-border-top-left-cap"/>
  77.       <xul:spacer class="tab-border-top-left"/>
  78.       <children/>
  79.       <xul:stack flex="1">
  80.         <xul:spacer class="tab-border-top-right"/>
  81.         <xul:hbox class="tabs-misc-dec" align="center">
  82.           <xul:spacer flex="1"/>
  83.         </xul:hbox>
  84.       </xul:stack>
  85.       <xul:spacer class="tab-border-top-right-cap"/>
  86.     </content>
  87.   </binding>
  88.   
  89.    <binding id="tabbrowser-tabs"  
  90.             extends="chrome://global/content/bindings/tabbrowser.xml#tabbrowser-tabs">
  91.     <content>
  92.       <xul:stack flex="1" class="tabs-stack">
  93.         <xul:vbox>
  94.           <xul:spacer flex="1"/>
  95.           <xul:hbox class="tabs-bottom" align="center"/>
  96.         </xul:vbox>
  97.         <xul:vbox>
  98.           <xul:hbox>
  99.             <xul:stack>
  100.               <xul:spacer class="tabs-left"/>
  101.             </xul:stack>
  102.             <xul:arrowscrollbox anonid="arrowscrollbox"
  103.                                 orient="horizontal"
  104.                                 flex="1"
  105.                                 xbl:inherits="tabsmaxwidth"
  106.                                 style="min-width: 1px;"
  107.                                 chromedir="&locale.dir;"
  108.                                 class="tabbrowser-arrowscrollbox">
  109.               <children/>
  110.             </xul:arrowscrollbox>
  111.             <xul:stack align="center" pack="end" chromedir="&locale.dir;" 
  112.                        class="tabs-alltabs-stack">
  113.               <!-- XXXsspitzer hack
  114.                    this extra hbox with position: relative
  115.                    is needed to work around two bugs.
  116.                    see bugs #346307 and #346035 
  117.               -->
  118.               <xul:hbox style="position: relative;">
  119.                 <xul:hbox flex="1"
  120.                           class="tabs-alltabs-box"
  121.                           anonid="alltabs-box"/>
  122.               </xul:hbox>
  123.               <!-- XXXsspitzer hack
  124.                    this extra hbox with position: relative
  125.                    is needed to work around two bugs.
  126.                    see bugs #346307 and #346035 
  127.               -->
  128.               <xul:hbox style="position: relative;">
  129.                 <xul:hbox flex="1" class="tabs-alltabs-box-animate"
  130.                           anonid="alltabs-box-animate"/>
  131.               </xul:hbox>
  132.               <!-- XXXsspitzer hack
  133.                    this extra hbox with position: relative
  134.                    is needed to work around two bugs.
  135.                    see bugs #346307 and #346035
  136.               -->
  137.               <xul:hbox style="position: relative;">
  138.                 <xul:toolbarbutton class="tabs-alltabs-button" type="menu"
  139.                                    anonid="alltabs-button" 
  140.                                    tooltipstring="&listAllTabs.label;">
  141.                   <xul:menupopup class="tabs-alltabs-popup"
  142.                                  anonid="alltabs-popup" position="after_end"/>
  143.                 </xul:toolbarbutton>
  144.               </xul:hbox>
  145.             </xul:stack>
  146.             <xul:hbox class="tabs-closebutton-box" align="center" pack="end" anonid="tabstrip-closebutton">
  147.               <xul:toolbarbutton class="close-button tabs-closebutton"/>
  148.             </xul:hbox>
  149.           </xul:hbox>
  150.           <xul:spacer class="tabs-bottom-spacer"/>
  151.         </xul:vbox>
  152.       </xul:stack>
  153.     </content>
  154.   </binding>
  155. </bindings>
  156.